IK Resize Image


IK Resize Image Image Number, Width, Height, Mode

Description

You can use this command to resize an image. Mode will specify how the image will be resized (see list).
A list of available modes are:
Constant nameConstantDescription
RESIZE_NEAREST0Looks for the nearest pixel in the original image.
RESIZE_LINEAR1Uses linear interpolation to find the new pixel. This mode is slower than RESIZE_NEAREST for normal images.

Parameters

Image NumberIntegerThe ID of the image.
WidthIntegerThe new width of the image.
HeightIntegerThe new height of the image.
ModeIntegerThe resize mode.


Index